← Back to issue list

Build provider LXD uses x86-only image source

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1836526
Type
issue
State
open
Author
~fnordahl
Labels
Created
2019-07-15 06:38:32.429684+00:00
Updated
2019-12-14 03:44:44.860827+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

The LXD build provider loads Ubuntu Minimal Cloud images. These images are available for x86 platforms only. Subsequently attempts to run ``snapcraft build --use-lxd`` on a non-x86 platform (arm64, s390x or ppc64el) result in this sequence of error messages: Launching a container. An error occurred with the instance when trying to launch with 'LXD': The requested image couldn't be found. Ensure that 'LXD' is setup correctly and try again. Changing snapcraft to load full cloud images or just using the standard LXD Ubuntu image server would most likely solve this issue. https://github.com/snapcore/snapcraft/blob/d59622a8100c021e02fb5a99947e42602d306ae2/snapcraft/internal/build_providers/_lxd/_images.py#L33

Evaluation history

No evaluation history available.